package com.wanxi.user.domain.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:Iny
 * @Data：2022/1/10 16:06
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("后台用户信息返回值")
@Builder
public class UserInfo {
    @ApiModelProperty(value = "id")
    private int id;
    @ApiModelProperty(value = "账号")
    private String username;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "手机")
    private String phone;
    @ApiModelProperty(value = "头像")
    private String avatar;
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "生日")
    private String birthday;
    @ApiModelProperty(value = "性别")
    private int sex;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "修改时间")
    private String updateTime;
    @ApiModelProperty(value = "逻辑删除")
    private int isDelete;
}
